package com.atguigu.spark.util.util

import java.util.ResourceBundle

object PropUtil {
  private val bundle: ResourceBundle = ResourceBundle.getBundle("config")

  def apply(string: String): String = {
    bundle.getString(string)
  }

  def main(args: Array[String]): Unit = {
    println(PropUtil("kafka.group"))
  }
}
